package org.yzh.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.yzh.web.entity.PersonnelAlarmEntity;
import org.yzh.web.request.PersonnelAlarmPageSearchRequest;
import org.yzh.web.response.PersonnelAlarmPageSearchResponse;

import java.util.List;

@Mapper
public interface PersonnelAlarmMapper extends BaseMapper<PersonnelAlarmEntity> {
    void save1(PersonnelAlarmEntity personnelAlarmEntity);

    void update(PersonnelAlarmEntity personnelAlarmEntity);

    void delete(Long id);

    int selectPageTotal(PersonnelAlarmPageSearchRequest personnelAlarmPageSearchRequest);

    List<PersonnelAlarmPageSearchResponse> select(PersonnelAlarmPageSearchRequest personnelAlarmPageSearchRequest);
}
